<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="edu.lhh.model.scoretype"  %>
<%@ page  import="java.util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/bootstrap.css" rel="stylesheet" media="screen">
  <link href="js/jquery-2.2.4.min.js" rel="stylesheet" media="screen">
<title>Insert title here</title>
</head>

<body>
 <div style="padding: 64px 30px 10px;">
 </div>
<!-- 表格  -->
	<table  class="table table-hover" >
	<thead>
	<tr >
		<th>No.&nbsp;&nbsp;&nbsp;&nbsp;</th>
		<th>Math&nbsp;&nbsp;&nbsp;</th>
		<th>English</th>
		<th>Pe&nbsp;&nbsp;&nbsp;</th>
		<th>Operation</th>
	</tr>
	</thead>
	
	<% Object obj =  request.getAttribute("rs");
		if (obj != null){
			scoretype tp = (scoretype)obj;
			%>

		<tbody>
		<tr>
			<td><%=tp.getId() %></td>
			<td><%=tp.getMath() %></td>
			<td><%=tp.getEnglish() %></td>
			<td><%=tp.getPe() %></td>
			<td><a href="./scoreupdata?opt=updata&id=<%=tp.getId()%>">修改</a></td>
			<% } %>
		</tr>
		</tbody>
		</table>
</body>
</html>